package org.xiaoyu.txy.weixin.contant;

public class WXContant {

	/**
	 * 微信开放平台请求地址
	 */
	public static final String OPEN_WX_URL = "https://open.weixin.qq.com/connect/qrconnect";
	
	/**
	 * 微信公众号请求地址
	 */
	public static final String MP_WX_URL = "https://open.weixin.qq.com/connect/oauth2/authorize";
	
	/**
	 * 获取access_token
	 */
	public static final String GET_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token";
	
	/**
	 * 刷新access_token
	 */
	public static final String REFRSH_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/refresh_token";
	
	/**
	 * 检查access_token有效性
	 */
	public static final String AUTH_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/auth";
	
	/**
	 * 获取微信用户信息
	 */
	public static final String WX_USERINFO_URL = "https://api.weixin.qq.com/sns/userinfo";
	
	
	public static final String GET_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token";
	
	
	public static final String MESSAGE_TEMPLATE_SEND = "https://api.weixin.qq.com/cgi-bin/message/template/send";
}
